READ STRING
This command will read a string from the file and store it as a string in the variable specified.
READ STRING File Number, Variable String
File Number
Integer
The file number
Variable String
String
This command will read a string from the file and store it as a string in the variable specified
This command does not return a value.
The file specified by the file number must be open or the command will fail.
cls
open file to read 1,"data.dat"
read string 1,a$
close file(1)
do
loop
end
FILE Commands Menu
Index